import http from '@/nxTemp/config/requestConfig'
import config from "@/nxTemp/config/index.config.js";


// 设备列表
export function findFacilityList(data) {
	return http.post(`${config.baseUrl}/facility/facility/findFacilityList`, data);
}

// 获取家庭版设备数据列表
export function getOverAllByClientId(data) {
	return http.get(`${config.baseUrl}/equipment/mqtt/getOverAllByClientId`,data);
}
// 获取家庭版设备数量
export function eachDeviceNumber(data) {
	return http.get(`${config.baseUrl}/facility/facility/eachDeviceNumber`,data);
}

// 获取家庭版设备数量
export function addFacility(data) {
	return http.post(`${config.baseUrl}/facility/facility/addFacility`,data);
}
